package com.lyrcsoft.springboottransactional.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lyrcsoft.springboottransactional.domain.User;
import com.lyrcsoft.springboottransactional.mapper.UserMapper;
import com.lyrcsoft.springboottransactional.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author Administrator
 * @description 针对表【user】的数据库操作Service实现
 * @createDate 2024-12-11 09:37:59
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
        implements UserService {

    @Override
    public boolean addUsers(User user) {
        return this.save(user);
    }
}




